// 时间转换, 阶段1
// 程序分阶段完成

#include <iostream>
using namespace std;

int main() {
    int choice;
    do {
        cout << "\n1 = 转换 时:分:秒 到 秒\n"
            << "2 = 转换 秒 到 时:分:秒\n"
            << "3 = 退出\n"
            << "请选择: ";

        cin >> choice;
        switch (choice) {
            case 1:
                cout << "你输入了1\n";
                break;

            case 2:
                cout << "你输入了2\n";
                break;

            case 3:
                cout << "你输入了3(程序将退出)\n";
                break;

            default:
                cout << "我不能处理这个选项，请重新选择。\n";
                break;
        }
    } while (choice != 3);

    cout << "再见\n";
}